const mongoose = require('mongoose');
// 引入规则
const todoSchema=require('./schema')
// 暴露创建数据
module.exports=mongoose.model('todos',todoSchema)